{{include template('public/header','admin')}}
<body>
    <div id="page-wrapper">
        <div class="row">
            <div class="col-lg-12">
            <div class="alert alert-warning">调用说明！根据自身情况选择一种调用方式，然后把调用代码复制粘贴到需要显示的模板再更新相关网页即可。</div>
                <fieldset>
                    <legend>首页/栏目页调用</legend>
                    JS调用代码（PHP动态调用）<font color='red'>此方式可以统计展示次数。</font><br />
                    <input name="jscode1" id="jscode1" value='<script language="javascript" src="{{SITE_URL}}vote/index/show/?action=js&subjectid={{$item.subjectid}}&type=3"></script>' style="width:693px" /> 
                    <input type="button" onclick="$('#jscode1').select();document.execCommand('Copy');" value="复制" class="btn" />
                </fieldset>
            
                <fieldset>
                    <legend>内容页调用</legend>
                    JS调用代码（PHP动态调用）<font color='red'>此方式可以统计展示次数。</font><br />
                    <input name="jscode2" id="jscode2" value='<script language="javascript" src="{{SITE_URL}}vote/index/show/?action=js&subjectid={{$item.subjectid}}&type=2"></script>'style="width:693px" /> 
                    <input type="button" onclick="$('#jscode2').select();document.execCommand('Copy');" value="复制" class="btn" />
                </fieldset>
            
                <fieldset>
                    <legend>JS调用</legend>
                    JS调用代码（JS静态调用）<font color='red'></font><br />
                    <input name="jscode3" id="jscode3" value='<script language="javascript" src="{{SITE_URL}}runtime/cache/vote/vote_{{$item.subjectid}}.js"></script>'  style="width:693px" /> 
                    <input type="button" onclick="$('#jscode3').select();document.execCommand('Copy');" value="复制" class="btn" />
                </fieldset>
            </div>
        </div>
    </div>
    <script type="text/javascript">
       
    </script>
</body>
</html>
